<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>表单</title>
</head>
<body>
	<form action="/form" method="post">
	@if (count($errors) > 0)
    <div class="alert alert-danger">
        <ul>
            @foreach ($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
        </ul>
    </div>
	@endif
		账&nbsp;&nbsp;&nbsp;&nbsp;号:<input type="text" name="username"><br><br>
		密&nbsp;&nbsp;&nbsp;&nbsp;码: <input type="password" name="password" ><br><br>
		确认密码: <input type="password" name="passwd" ><br><br>
		邮&nbsp;&nbsp;&nbsp;&nbsp;箱: <input type="text" name="email" ><br><br>
		{{csrf_field()}}
		<button>提交</button>
	</form>
</body>
</html>